.class public Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Landroid/view/View$OnFocusChangeListener;
.implements Ljava/util/Observer;


# static fields
.field private static final w:Ljava/lang/String;


# instance fields
.field private A:Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

.field private B:Lcom/waiqin365/lightapp/kehu/share/a/c;

.field private C:Landroid/os/Handler;

.field private D:Ljava/util/List;

.field private E:Lcom/waiqin365/lightapp/kehu/c/l;

.field private F:Ljava/lang/String;

.field private G:J

.field private H:Ljava/util/List;

.field private I:Landroid/widget/TextView;

.field private J:Lcom/waiqin365/lightapp/view/NoNetView;

.field protected a:Landroid/widget/TextView;

.field protected b:Landroid/widget/TextView;

.field protected c:Landroid/widget/TextView;

.field protected d:Landroid/widget/TextView;

.field protected e:Landroid/widget/EditText;

.field protected f:Landroid/widget/ImageButton;

.field protected g:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field protected h:Landroid/widget/LinearLayout;

.field protected i:Landroid/widget/RelativeLayout;

.field protected j:Landroid/widget/Button;

.field protected k:Ljava/util/ArrayList;

.field protected l:Ljava/util/ArrayList;

.field protected m:Ljava/util/ArrayList;

.field protected n:Lcom/waiqin365/lightwork/directory/b/p;

.field protected o:Lcom/waiqin365/lightwork/directory/b/t;

.field protected p:Lcom/waiqin365/lightapp/kehu/share/a/d;

.field protected q:Landroid/widget/LinearLayout;

.field protected r:Landroid/widget/RelativeLayout;

.field protected s:Landroid/widget/RelativeLayout;

.field protected t:Landroid/widget/RelativeLayout;

.field protected u:Lcom/waiqin365/lightwork/directory/b/v;

.field protected v:Landroid/content/Context;

.field private x:Landroid/widget/LinearLayout;

.field private y:Landroid/widget/ImageView;

.field private z:Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->w:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->D:Ljava/util/List;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->F:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;Lcom/waiqin365/lightapp/kehu/share/a/c;)Lcom/waiqin365/lightapp/kehu/share/a/c;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->D:Ljava/util/List;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;Ljava/util/List;)Ljava/util/List;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->H:Ljava/util/List;

    return-object p1
.end method

.method static synthetic b(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->g()V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->H:Ljava/util/List;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)Lcom/waiqin365/lightapp/kehu/c/l;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->E:Lcom/waiqin365/lightapp/kehu/c/l;

    return-object v0
.end method

.method private d()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightwork/directory/x;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightwork/directory/x;-><init>(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->E:Lcom/waiqin365/lightapp/kehu/c/l;

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)Lcom/waiqin365/lightapp/kehu/share/a/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    return-object v0
.end method

.method private e()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightwork/directory/y;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightwork/directory/y;-><init>(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->C:Landroid/os/Handler;

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->I:Landroid/widget/TextView;

    return-object v0
.end method

.method private f()V
    .locals 5

    const/4 v2, 0x0

    const/16 v4, 0x8

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->J:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->J:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    const v0, 0x7f0c0247

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->x:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->a:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->x:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout$LayoutParams;

    const/high16 v1, 0x420c0000    # 35.0f

    invoke-static {p0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    invoke-virtual {v0, v1, v2, v2, v2}, Landroid/widget/FrameLayout$LayoutParams;->setMargins(IIII)V

    :cond_0
    const v0, 0x7f0c070f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->y:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->y:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0711

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->a:Landroid/widget/TextView;

    const v0, 0x7f0c06cf

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->c:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->a:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->f:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v2, 0x7f080761

    invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0712

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->b:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->b:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    const v0, 0x7f0c06c9

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->q:Landroid/widget/LinearLayout;

    const v0, 0x7f0c06ca

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->r:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c06cd

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->g:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v0, 0x7f0c06ce

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->d:Landroid/widget/TextView;

    const v0, 0x7f0c06d1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->z:Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;

    const v0, 0x7f0c06cc

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->h:Landroid/widget/LinearLayout;

    const v0, 0x7f0c06d2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->j:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->j:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f0805d3

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->j:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c06d0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->A:Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->A:Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/share/view/SideBar;->setTextView(Landroid/widget/TextView;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->A:Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    new-instance v1, Lcom/waiqin365/lightwork/directory/z;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightwork/directory/z;-><init>(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/share/view/SideBar;->setOnTouchingLetterChangedListener(Lcom/waiqin365/lightapp/kehu/share/view/d;)V

    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f03012b

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f0c06bf

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->i:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->i:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c06c2

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->s:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->s:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c06c5

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->t:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->t:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c06be

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    const v0, 0x7f0c06ac

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e:Landroid/widget/EditText;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e:Landroid/widget/EditText;

    const v3, 0x7f080262

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0860

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->f:Landroid/widget/ImageButton;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->f:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->h:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->i:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v4}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e:Landroid/widget/EditText;

    new-instance v2, Lcom/waiqin365/lightwork/directory/aa;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightwork/directory/aa;-><init>(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    new-instance v0, Lcom/waiqin365/lightwork/directory/b/p;

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->v:Landroid/content/Context;

    iget-object v3, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->k:Ljava/util/ArrayList;

    invoke-direct {v0, v2, v3}, Lcom/waiqin365/lightwork/directory/b/p;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->g:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->g:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    new-instance v0, Lcom/waiqin365/lightwork/directory/b/t;

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->v:Landroid/content/Context;

    iget-object v3, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-direct {v0, v2, v3}, Lcom/waiqin365/lightwork/directory/b/t;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->z:Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->g:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v2, Lcom/waiqin365/lightwork/directory/ab;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightwork/directory/ab;-><init>(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->g:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v2, Lcom/waiqin365/lightwork/directory/ac;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightwork/directory/ac;-><init>(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    const v0, 0x7f0c06b7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->I:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->g:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v2, Lcom/waiqin365/lightwork/directory/ad;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightwork/directory/ad;-><init>(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setCustomListviewOnScrollListener(Lcom/waiqin365/lightapp/dailyreport/view/y;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->z:Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;

    new-instance v2, Lcom/waiqin365/lightwork/directory/ae;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightwork/directory/ae;-><init>(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->g:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->addHeaderView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v0, p0}, Landroid/widget/EditText;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->f:Ljava/lang/String;

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->s:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v4}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->t:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v4}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto/16 :goto_1
.end method

.method private g()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->D:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_0

    const v0, 0x7f0803df

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    invoke-static {p0, v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    :goto_0
    return-void

    :cond_0
    new-instance v1, Landroid/content/Intent;

    const-class v0, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    invoke-direct {v1, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "list"

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->D:Ljava/util/List;

    check-cast v0, Ljava/io/Serializable;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v0, "title"

    const v2, 0x7f0803e0

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const v0, 0xa013

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->overridePendingTransition(II)V

    goto :goto_0
.end method


# virtual methods
.method protected a(Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .locals 5

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_2

    move v1, v2

    :goto_0
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    move v3, v2

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v3, v0, :cond_0

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    if-eqz v0, :cond_1

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v4, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    const-string/jumbo v3, "1"

    iput-object v3, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    const-string/jumbo v4, "0"

    iput-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_1

    :cond_2
    move v1, v2

    :goto_2
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    const-string/jumbo v3, "0"

    iput-object v3, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_2

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->l:Ljava/util/List;

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->l:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_6

    move v1, v2

    :goto_3
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_6

    move v3, v2

    :goto_4
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->l:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v3, v0, :cond_4

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    if-eqz v0, :cond_5

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    iget-object v4, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v4, v4, Lcom/waiqin365/lightwork/directory/b/v;->l:Ljava/util/List;

    invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    const/16 v3, 0xd

    iput v3, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->w:I

    :cond_4
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_3

    :cond_5
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_4

    :cond_6
    return-object p1
.end method

.method protected a()V
    .locals 4

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "jsonStr"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_1

    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v0, "aclType"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    const-string/jumbo v0, "2"

    const-string/jumbo v3, "aclType"

    invoke-virtual {v1, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    sget-object v0, Lcom/waiqin365/base/db/offlinedata/q;->a:Lcom/waiqin365/base/db/offlinedata/q;

    :goto_0
    iput-object v0, v2, Lcom/waiqin365/lightwork/directory/b/v;->c:Lcom/waiqin365/base/db/offlinedata/q;

    :cond_0
    const-string/jumbo v0, "empIds"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    const-string/jumbo v2, "empIds"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightwork/directory/b/v;->e:Ljava/lang/String;

    :cond_1
    :goto_1
    return-void

    :cond_2
    sget-object v0, Lcom/waiqin365/base/db/offlinedata/q;->b:Lcom/waiqin365/base/db/offlinedata/q;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    goto :goto_1
.end method

.method protected a(Ljava/lang/String;)V
    .locals 10

    const/16 v9, 0x8

    const/4 v8, 0x1

    const/4 v7, 0x0

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/b/v;->c:Lcom/waiqin365/base/db/offlinedata/q;

    iget-object v3, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v3, v3, Lcom/waiqin365/lightwork/directory/b/v;->b:Z

    invoke-virtual {v0, v1, v3}, Lcom/waiqin365/base/db/offlinedata/m;->a(Lcom/waiqin365/base/db/offlinedata/q;Z)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->a(Ljava/util/ArrayList;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->g:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v9}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->p:Lcom/waiqin365/lightapp/kehu/share/a/d;

    invoke-static {v2, v0}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightwork/directory/b/p;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/p;->notifyDataSetChanged()V

    :goto_0
    return-void

    :cond_0
    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/b/v;->c:Lcom/waiqin365/base/db/offlinedata/q;

    iget-object v3, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v3, v3, Lcom/waiqin365/lightwork/directory/b/v;->b:Z

    invoke-virtual {v0, v1, v3}, Lcom/waiqin365/base/db/offlinedata/m;->a(Lcom/waiqin365/base/db/offlinedata/q;Z)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_1
    :goto_1
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    iget-object v5, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->c:Ljava/lang/String;

    const-string/jumbo v1, ""

    const-string/jumbo v6, " "

    invoke-virtual {v5, v6}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v6

    array-length v6, v6

    if-le v6, v8, :cond_2

    const-string/jumbo v1, " "

    invoke-virtual {v5, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    aget-object v1, v1, v8

    :cond_2
    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v4, v6}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v4

    const/4 v6, -0x1

    if-ne v4, v6, :cond_3

    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v5, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v4

    if-nez v4, :cond_3

    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_3
    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_4
    invoke-virtual {p0, v2}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->a(Ljava/util/ArrayList;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_5

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->g:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v1, v7}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->d:Landroid/widget/TextView;

    invoke-virtual {v1, v9}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->p:Lcom/waiqin365/lightapp/kehu/share/a/d;

    invoke-static {v0, v1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightwork/directory/b/p;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/p;->notifyDataSetChanged()V

    goto/16 :goto_0

    :cond_5
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->g:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v1, v7}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->d:Landroid/widget/TextView;

    invoke-virtual {v1, v7}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightwork/directory/b/p;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/p;->notifyDataSetChanged()V

    goto/16 :goto_0
.end method

.method public a(Z)V
    .locals 6

    const/16 v5, 0x8

    const/4 v4, 0x0

    if-eqz p1, :cond_0

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->F:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v2, v2, Lcom/waiqin365/lightwork/directory/b/v;->c:Lcom/waiqin365/base/db/offlinedata/q;

    iget-object v3, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v3, v3, Lcom/waiqin365/lightwork/directory/b/v;->b:Z

    invoke-virtual {v0, v1, v2, v3}, Lcom/waiqin365/base/db/offlinedata/m;->a(Ljava/lang/String;Lcom/waiqin365/base/db/offlinedata/q;Z)Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/directory/b/t;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->j:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f0805d3

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->k:Ljava/util/ArrayList;

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v2, v2, Lcom/waiqin365/lightwork/directory/b/v;->c:Lcom/waiqin365/base/db/offlinedata/q;

    iget-object v3, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v3, v3, Lcom/waiqin365/lightwork/directory/b/v;->b:Z

    invoke-virtual {v1, v2, v3}, Lcom/waiqin365/base/db/offlinedata/m;->a(Lcom/waiqin365/base/db/offlinedata/q;Z)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->a(Ljava/util/ArrayList;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->k:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->p:Lcom/waiqin365/lightapp/kehu/share/a/d;

    invoke-static {v0, v1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/directory/b/p;->a(Ljava/util/ArrayList;)V

    const-string/jumbo v0, "adapter"

    const-string/jumbo v1, "2"

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->H:Ljava/util/List;

    if-nez v0, :cond_3

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/i;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/dailyreport/b/a/i;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->C:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/dailyreport/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/dailyreport/b/a/a;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/b/b;->start()V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->r:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v4}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    if-nez v0, :cond_2

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/directory/b/t;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/t;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->k:Ljava/util/ArrayList;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->H:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->k:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->H:Ljava/util/List;

    invoke-virtual {v0, v4, v1}, Ljava/util/ArrayList;->addAll(ILjava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/directory/b/p;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/p;->notifyDataSetChanged()V

    const-string/jumbo v0, "adapter"

    const-string/jumbo v1, "1"

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_1

    :cond_4
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/i;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/dailyreport/b/a/i;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->C:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/dailyreport/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/dailyreport/b/a/a;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/b/b;->start()V

    goto :goto_1
.end method

.method protected b()V
    .locals 3

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const v1, 0x7f080507

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "..."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->showProgressDialog(Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/m;

    const-string/jumbo v1, ""

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/b/a/m;-><init>(Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->C:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/dailyreport/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/dailyreport/b/a/a;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/b/b;->start()V

    return-void
.end method

.method public back()V
    .locals 1

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->back(Ljava/util/ArrayList;)V

    return-void
.end method

.method protected back(Ljava/util/ArrayList;)V
    .locals 2

    if-eqz p1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->j:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-virtual {p1, v0}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {p1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    :cond_1
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "emps"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/4 v1, -0x1

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->setResult(ILandroid/content/Intent;)V

    :cond_2
    new-instance v0, Lcom/waiqin365/lightapp/view/a/a;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/view/a/a;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/b/v;->d:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    iput-object p1, v0, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/Observable;->notifyObservers(Ljava/lang/Object;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->overridePendingTransition(II)V

    return-void
.end method

.method protected c()V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    const/4 v2, 0x1

    iput-boolean v2, v1, Lcom/waiqin365/lightwork/directory/b/v;->i:Z

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    const-string/jumbo v2, "40978"

    iput-object v2, v1, Lcom/waiqin365/lightwork/directory/b/v;->d:Ljava/lang/String;

    const-string/jumbo v1, "param"

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->overridePendingTransition(II)V

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 5

    const/4 v3, 0x0

    const v0, 0xa013

    if-ne p1, v0, :cond_2

    const v0, 0xa004

    if-ne p2, v0, :cond_2

    const-string/jumbo v0, "data"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    if-eqz v0, :cond_2

    const-string/jumbo v0, "data"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    const-string/jumbo v1, ""

    move v2, v3

    :goto_0
    if-eqz v0, :cond_0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v4

    if-ge v2, v4, :cond_0

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/dailyreport/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/m;->c:Ljava/lang/String;

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, ","

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    add-int/lit8 v1, v2, 0x1

    move v2, v1

    move-object v1, v4

    goto :goto_0

    :cond_0
    const-string/jumbo v2, ","

    invoke-virtual {v1, v2}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1

    const-string/jumbo v2, ","

    invoke-virtual {v1, v2}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v2

    invoke-virtual {v1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    :cond_1
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_2

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v2, "selectPositionIds"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/4 v1, -0x1

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->overridePendingTransition(II)V

    :cond_2
    return-void
.end method

.method public onBackPressed()V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->back()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 6

    const/4 v2, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->back()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-static {v0}, Ljava/util/Collections;->reverse(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->back(Ljava/util/ArrayList;)V

    goto :goto_0

    :sswitch_2
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v4, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->G:J

    sub-long/2addr v0, v4

    const-wide/16 v4, 0x7d0

    cmp-long v0, v0, v4

    if-gez v0, :cond_0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->G:J

    goto :goto_0

    :cond_0
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->G:J

    const-string/jumbo v0, ""

    move v1, v2

    :goto_1
    iget-object v3, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-ge v1, v3, :cond_1

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v3, ","

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    move-object v0, v3

    goto :goto_1

    :cond_1
    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v2, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v1, v1, Lcom/waiqin365/lightwork/directory/b/v;->j:Z

    if-eqz v1, :cond_5

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    if-nez v0, :cond_4

    const-string/jumbo v0, ""

    :goto_2
    iput-object v0, v1, Lcom/waiqin365/lightwork/directory/b/v;->e:Ljava/lang/String;

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->d:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    sget-object v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->w:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightwork/directory/b/v;->d:Ljava/lang/String;

    :cond_3
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->v:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "param"

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/16 v1, 0x64

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->overridePendingTransition(II)V

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    goto/16 :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    goto :goto_2

    :cond_5
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iput-object v0, v1, Lcom/waiqin365/lightwork/directory/b/v;->e:Ljava/lang/String;

    goto :goto_3

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/16 v1, 0x9

    invoke-virtual {v0, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    const/16 v1, 0xd

    const/4 v2, -0x1

    invoke-virtual {v0, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto/16 :goto_0

    :sswitch_4
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->c()V

    goto/16 :goto_0

    :sswitch_5
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->b()V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c06bf -> :sswitch_2
        0x7f0c06c2 -> :sswitch_4
        0x7f0c06c5 -> :sswitch_5
        0x7f0c06d2 -> :sswitch_1
        0x7f0c070f -> :sswitch_0
        0x7f0c0860 -> :sswitch_3
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    const/4 v2, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    iput-object p0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->v:Landroid/content/Context;

    const v0, 0x7f03012c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "param"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "param"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/directory/b/v;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightwork/directory/b/v;

    invoke-direct {v0}, Lcom/waiqin365/lightwork/directory/b/v;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->e:Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->F:Ljava/lang/String;

    new-instance v0, Lcom/waiqin365/lightapp/kehu/share/a/d;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/share/a/d;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->p:Lcom/waiqin365/lightapp/kehu/share/a/d;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->k:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-direct {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e()V

    invoke-direct {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->d()V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->E:Lcom/waiqin365/lightapp/kehu/c/l;

    invoke-static {p0, v2, v2, v0}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;ZZLcom/waiqin365/lightapp/kehu/c/l;)V

    return-void

    :cond_1
    new-instance v0, Lcom/waiqin365/lightwork/directory/b/v;

    invoke-direct {v0}, Lcom/waiqin365/lightwork/directory/b/v;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 1

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/p;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/p;->l()V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    return-void
.end method

.method public onFocusChange(Landroid/view/View;Z)V
    .locals 6

    const/16 v5, 0xd

    const/16 v4, 0x9

    const/4 v3, 0x0

    const/4 v2, -0x1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e:Landroid/widget/EditText;

    invoke-static {p0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/view/View;)Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {v0, v5, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    invoke-virtual {v0, v4, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    :cond_0
    :goto_0
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    return-void

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e:Landroid/widget/EditText;

    invoke-static {p0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/view/View;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {v0, v4, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    invoke-virtual {v0, v5, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    goto :goto_0
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 6

    const/4 v3, 0x0

    instance-of v0, p2, Lcom/waiqin365/lightapp/view/a/a;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->d:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->d:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "40978"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    check-cast p2, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, p2, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/HashMap;

    if-eqz v0, :cond_2

    const-string/jumbo v1, "selectDepList"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    const-string/jumbo v1, "selectDepList"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_2

    const-string/jumbo v1, "selectDepList"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    const-string/jumbo v1, ""

    move v2, v3

    :goto_0
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v4

    if-ge v2, v4, :cond_0

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/m;->b:Ljava/lang/String;

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, ","

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    add-int/lit8 v1, v2, 0x1

    move v2, v1

    move-object v1, v4

    goto :goto_0

    :cond_0
    const-string/jumbo v0, ","

    invoke-virtual {v1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const-string/jumbo v0, ","

    invoke-virtual {v1, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v1, v3, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    :cond_1
    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_3

    :cond_2
    :goto_1
    return-void

    :cond_3
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v2, "selectDepIds"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/4 v1, -0x1

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->overridePendingTransition(II)V

    goto :goto_1

    :cond_4
    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    instance-of v0, v0, Ljava/util/HashMap;

    if-eqz v0, :cond_2

    check-cast p2, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, p2, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/HashMap;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v1, v1, Lcom/waiqin365/lightwork/directory/b/v;->j:Z

    if-eqz v1, :cond_b

    const-string/jumbo v1, "selectDepList"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_b

    const-string/jumbo v1, "selectDepList"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_b

    const-string/jumbo v1, "selectDepList"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    if-eqz v0, :cond_8

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    if-nez v1, :cond_5

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    :goto_2
    const-string/jumbo v1, ""

    move v2, v3

    :goto_3
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v4

    if-ge v2, v4, :cond_6

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/m;->b:Ljava/lang/String;

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, ","

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    new-instance v5, Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-direct {v5}, Lcom/waiqin365/lightapp/kehu/share/a/c;-><init>()V

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/m;->b:Ljava/lang/String;

    iput-object v1, v5, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/m;->c:Ljava/lang/String;

    iput-object v1, v5, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    const-string/jumbo v1, "1"

    iput-object v1, v5, Lcom/waiqin365/lightapp/kehu/share/a/c;->u:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v1, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v2, 0x1

    move v2, v1

    move-object v1, v4

    goto :goto_3

    :cond_5
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    goto :goto_2

    :cond_6
    const-string/jumbo v2, ","

    invoke-virtual {v1, v2}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_7

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    :cond_7
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_a

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    if-nez v2, :cond_9

    new-instance v2, Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-direct {v2}, Lcom/waiqin365/lightapp/kehu/share/a/c;-><init>()V

    iput-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    :goto_4
    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    iput-object v1, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    const v2, 0x7f08025e

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v4, 0x1

    new-array v4, v4, [Ljava/lang/Object;

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v5, ""

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    aput-object v0, v4, v3

    invoke-static {v2, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    const-string/jumbo v1, "1"

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->u:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_8
    :goto_5
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/directory/b/t;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/t;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->j:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f0805d3

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->a(Z)V

    goto/16 :goto_1

    :cond_9
    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    iget-object v4, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-virtual {v2, v4}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    goto/16 :goto_4

    :cond_a
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->B:Lcom/waiqin365/lightapp/kehu/share/a/c;

    goto :goto_5

    :cond_b
    const-string/jumbo v1, "exitingMembers"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_8

    const-string/jumbo v1, "exitingMembers"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_8

    const-string/jumbo v1, "exitingMembers"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v2, v2, Lcom/waiqin365/lightwork/directory/b/v;->c:Lcom/waiqin365/base/db/offlinedata/q;

    iget-object v4, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->u:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v4, v4, Lcom/waiqin365/lightwork/directory/b/v;->b:Z

    invoke-virtual {v1, v0, v2, v4}, Lcom/waiqin365/base/db/offlinedata/m;->a(Ljava/lang/String;Lcom/waiqin365/base/db/offlinedata/q;Z)Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    goto/16 :goto_5
.end method
